from django.contrib import admin
from compmanage.Computer_lab.models import *

class RepairAdmin(admin.ModelAdmin):
    list_display = ('Com_model', 'Repair', 'status', 'tech', 'fix_date')  # to display five columns with table

class TechnicianAdmin(admin.ModelAdmin):
    list_display = ('first_name', 'last_name')  # to display two columns with table

class HistoryAdmin(admin.ModelAdmin):
    list_display = ('com_model', 'Submit_time')  # to display two columns with table

admin.site.register(Repair, RepairAdmin)
admin.site.register(Technician, TechnicianAdmin)
admin.site.register(History, HistoryAdmin)


